// 代码中会兼容本地 service mock 以及部署站点的静态数据
const accountJson = {
    "code": 0,
    "data": {
        "accountDto": {
            "id": 138,
            "name": "tangqiao",
            "avatar":
        "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1513400773747&di=23967bec3bfe35bda1371a8f98a60db9&imgtype=0&src=http%3A%2F%2Fimg1.qq.com%2Fent%2Fpics%2F4614%2F4614495.jpg",
            "displayName": "途途",
            "mobile": "1232323232",
            "department": "总公司-流量变现部-商业产品",
            "manager": "中斌",
            "company": "总公司",
            "type": 0,
            "managerId": 41,
            "title": "产品设计师",
            "allowedApps": "null",
            "hasRoles": [
                {
                    "id": 325,
                    "name": "分公司经理",
                    "createtime": 1435828461000,
                    "type": 0,
                    "nickName": "【新】权限分公司是经理",
                    "appId": 1,
                    "tag": "yunying_shizi_normal_jingli_fengongsitixi_tuozhan_",
                    "parentAccountId": 7,
                    "parentAccountRoleId": 365,
                    "updated": 0,
                    "status": 0,
                    "openRoleUid": 1076,
                    "parentOpenRoleUid": 1207,
                    "hasPermissions": ["tag_a", "tag_b"]
                }
            ],
            "currentRole": {
                "id": 3254444,
                "name": "分公司经理",
                "createtime": 1435828461000,
                "type": 0,
                "nickName": "【新】权限分公司是经理",
                "appId": 1,
                "tag": "gaotu_boss_assistant_",
                "parentAccountId": 7,
                "parentAccountRoleId": 365,
                "updated": 0,
                "status": 0,
                "openRoleUid": 1076,
                "parentOpenRoleUid": 1207,
                "hasPermissions": [
                    {
                        "tag": "gt_pageA"
                    },
                    {
                        "tag": "gt_pageB"
                    },
                    {
                        "tag": "gt_pageC"
                    },
                    {
                        "tag": "gt_pageD"
                    },
                ]
            }
        },
        // 用户id
        "id": 1,
        "department": {
            "id": 1,
            "name": "总公司",
        },
        "grades": [
            {"id": 11, "name": "一年级", "code": "02", "active": 1, "idx": 30, "subGrades": []},
            {"id": 12, "name": "二年级", "code": "03", "active": 1, "idx": 40, "subGrades": []},
            {"id": 13, "name": "三年级", "code": "04", "active": 1, "idx": 50, "subGrades": []},
            {"id": 14, "name": "四年级", "code": "05", "active": 1, "idx": 60, "subGrades": []},
            {"id": 15, "name": "五年级", "code": "06", "active": 1, "idx": 70, "subGrades": []},
            {"id": 16, "name": "六年级", "code": "07", "active": 1, "idx": 71, "subGrades": []},
            {"id": 21, "name": "初一", "code": "08", "active": 1, "idx": 90, "subGrades": []},
            {"id": 22, "name": "初二", "code": "09", "active": 1, "idx": 100, "subGrades": []},
            {"id": 23, "name": "初三", "code": "10", "active": 1, "idx": 110, "subGrades": []},
            {"id": 31, "name": "高一", "code": "11", "active": 1, "idx": 130, "subGrades": []},
            {"id": 32, "name": "高二", "code": "12", "active": 1, "idx": 140, "subGrades": []},
            {"id": 33, "name": "高三", "code": "13", "active": 1, "idx": 150, "subGrades": []}
        ],
        "subjects": [
            {"id": 10, "name": "艺考", "abbreviation": "YK", "active": 1, "idx": 30},
            {"id": 8, "name": "志愿", "abbreviation": "ZY", "active": 1, "idx": 50},
            {"id": 7, "name": "政治", "abbreviation": "ZZ", "active": 1, "idx": 60},
            {"id": 12, "name": "历史", "abbreviation": "LS", "active": 1, "idx": 63},
            {"id": 11, "name": "地理", "abbreviation": "DL", "active": 1, "idx": 65},
            {"id": 6, "name": "物理", "abbreviation": "WL", "active": 1, "idx": 70},
            {"id": 5, "name": "语文", "abbreviation": "YW", "active": 1, "idx": 80},
            {"id": 4, "name": "英语", "abbreviation": "YY", "active": 1, "idx": 90},
            {"id": 3, "name": "生物", "abbreviation": "SW", "active": 1, "idx": 100},
            {"id": 2, "name": "化学", "abbreviation": "HX", "active": 1, "idx": 110},
            {"id": 1, "name": "数学", "abbreviation": "SX", "active": 1, "idx": 120},
            {"id": 13, "name": "学习力", "abbreviation": "XXL", "active": 1, "idx": 130}
        ]
    },
    "msg": "success",
};
export default {
    "POST /api/user/getAuth.do": (req, res) => {
        res.send({...accountJson});
    },
};
